/*
 * createTime: 2020/2/25 11:06
 * description: 基础公共相关路由
 */

const routers = [
	{
		path: '/login',
		name: 'login',
		meta: {
			title: '登录'
		},
		component: () => import('@/views/common/login.vue')
	},
	{
		name: '404',
		path: '/404',
		component: () => import('@/views/common/404.vue')
	},
	{
		name: 'authorize',
		path: '/authorize',
		meta: {
			title: '授权成功'
		},
		component: () => import('@/views/common/authorize.vue')
	},
	{
		name: 'errorAuthorize',
		path: '/errorAuthorize',
		meta: {
			title: '授权失败'
		},
		component: () => import('@/views/common/errorAuthorize.vue')
	},
	{
		name: 'agreement',
		path: '/agreement',
		component: () => import('@/views/common/agreement.vue')
	},
	{
		name: 'policy',
		path: '/policy',
		meta: {
			title: '隐私政策'
		},
		component: () => import('@/views/common/agreement.vue')
	},
	{
		name: 'courseList',
		path: '/course-list',
		meta: {
			title: '赚钱秘笈'
		},
		component: () => import('@/views/common/course-list.vue')
	},
	{
		name: 'courseDetail',
		path: '/course-detail',
		meta: {
			title: '赚钱秘笈'
		},
		component: () => import('@/views/common/course-detail.vue')
	}
];

export default [...routers];
